package ru.efko.dims.domain;

import java.net.SocketAddress;

public interface SensorDevice {
	boolean connect (SocketAddress socketAddress);
	void disconnect();
	void startPolling(int pollingInterval);
	void stopPolling();
	
	int[] get_parameters();
	void set_parameters(int[] value);
	int[] get_data();
	
	boolean requestParameters(boolean sync);
	void sendParameters();
	
	void setDataHandler(DataChangeHandler dataChangeHandler);
}
